package com.letoken.platform.repo.mall.po;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 店铺日统计数据
 * </p>
 *
 * @author author
 * @since 2023-07-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("app_mall_day_statistics")
@ApiModel(value="AppMallDayStatistics对象", description="店铺日统计数据")
public class AppMallDayStatistics implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "表ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "店铺ID")
    private Integer mallId;

    @ApiModelProperty(value = "日营业额")
    private BigDecimal turnover;

    @ApiModelProperty(value = "日订单数")
    private Integer orderNum;

    @ApiModelProperty(value = "日访问数")
    private Integer accessNum;

    @ApiModelProperty(value = "日让利")
    private BigDecimal contribut;

    @ApiModelProperty(value = "日期")
    private LocalDate date;

    private LocalDateTime createTime;


}
